Skip to main content

stockvaccine

Table: stockvaccine

The stockvaccine table stores information about each vaccine type used in the system.

Columns

Column NameData TypeConstraintsDescription
stockVaccineIdsmallint(6)NOPrimary key identifying the vaccine
namevarchar(255)YESName of the vaccine
valuevarchar(255)YESOptional code or value associated with vaccine
dosesint(11)NONumber of doses per vial
createdDatedatetimeYESDate when the vaccine record was created
dateAddeddatetimeYESDate vaccine was added to stock
lastEditedDatedatetimeYESLast edited date
createdByUserIdint(11)YESUser who created the record
lastEditedByUserIdint(11)YESUser who last edited the record
isMultiDosetinyint(1)YESFlag indicating if vaccine is multi-dose
vaccineEntityvarchar(45)YESEntity type, default is CHILD

Indexes

  • name — Unique index on name

Foreign Key Relations

  • None

Usage Notes

  • Used to define vaccine types and their dose information.
  • Supports both single and multi-dose vaccines.